#ifndef __SPLITTOOL_H__
#define __SPLITTOOL_H__
#include <vector>
#include <string>
#include "../include/cppjieba/Jieba.hpp"
using std::vector;
using std::string;
class SplitTool{
public:
    virtual ~SplitTool(){}//虚析构函数
    virtual vector<string>cut(const string&sentence)=0;//分词函数，纯虚函数提供接口

};


class SplitToolCppJieba
:public SplitTool
{
public:
    SplitToolCppJieba();//构造函数

    virtual ~SplitToolCppJieba(){}//虚析构函数

    virtual vector<string>cut(const string&sentence,cppjieba::Jieba jieba);
};


#endif
